home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / System / Swatch / Development / swatch 1.7 / heap.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-01-09  |  851 b   |  50 lines  |  [TEXT/KAHL]

  1. /**
  2.  
  3.     heap.h
  4.     Copyright (c) 1990-1992, joe holt
  5.  
  6.  **/
  7.  
  8.  
  9. #ifndef __heap__
  10. #define __heap__
  11.  
  12. /*******************************************************************************
  13.  **
  14.  **    Headers
  15.  **
  16.  **/
  17.  
  18. #ifndef __heap_list__
  19. #include "heap_list.h"
  20. #endif
  21.  
  22.  
  23. /*******************************************************************************
  24.  **
  25.  **    Public Constants
  26.  **
  27.  **/
  28.  
  29. // ordered in increasing display priority
  30.  
  31. enum {
  32.     HEAP_FREE_RUN            = 1 << 0,
  33.     HEAP_PURGEABLE_RUN        = 1 << 1,
  34.     HEAP_UNLOCKED_RUN        = 1 << 2,
  35.     HEAP_LOCKED_RUN            = 1 << 3
  36. };
  37.  
  38.  
  39. /*******************************************************************************
  40.  **
  41.  **    Public Functions
  42.  **
  43.  **/
  44.  
  45. void Heap_update_current( Heap_info_handle_t h );
  46. Boolean Heap_locate_block( Heap_info_t *d, void *address, Heap_block_info_t *info );
  47. Boolean get_x_process_information( Heap_info_t *d );
  48.  
  49. #endif
  50.